﻿using System;
using System.Runtime.Serialization;
using Interfaces.Models;

namespace ServiceInfrastructure.Models.NewsModels.Models
{
    [DataContract(Namespace = ServiceConstants.ServiceConstants.NewsDatacontractnamespace)]
    public class Link : ILink
    {
        [DataMember(Order = 1)]
        public Guid Id { get; set; }

        [DataMember(Order = 2)]
        public string Title { get; set; }

        [DataMember(Order = 3)]
        public string Url { get; set; }
    }
}
